package com.apexedu.biz.entity;

import javax.persistence.Basic;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Transient;
import java.math.BigInteger;

/**
 * Created with IntelliJ IDEA.
 * User: ITKEY
 * Date: 13-10-10
 * Time: 下午5:25
 * To change this template use File | Settings | File Templates.
 */
@javax.persistence.Table(name = "T_ACCESS_APP_REG")
@Entity
public class TAccessAppReg {
    private String appid;
    private String appname;
    private String appcode;
    private String appurl;
    private Integer state;
    private String stateText;
    private String memo;
    private String ordernum;
    private Integer syncDirection;
    private String xtlxText;
    private String driver;//数据库驱动
    private String url;//数据库地址
    private String name;//数据库帐号
    private String password;//数据库密码
    private String xtlx;//系统类型
    private String tblx;//同步类型
    private String tblxText;
    private String userLoginId;
    private String db;//数据源
    @javax.persistence.Column(name = "APPID", nullable = false, insertable = true, updatable = true, length = 50, precision = 0)
    @Id
    public String getAppid() {
        return appid;
    }

    public void setAppid(String appid) {
        this.appid = appid;
    }

    @javax.persistence.Column(name = "APPNAME", nullable = true, insertable = true, updatable = true, length = 60, precision = 0)
    @Basic
    public String getAppname() {
        return appname;
    }

    public void setAppname(String appname) {
        this.appname = appname;
    }

    @javax.persistence.Column(name = "APPCODE", nullable = true, insertable = true, updatable = true, length = 60, precision = 0)
    @Basic
    public String getAppcode() {
        return appcode;
    }

    public void setAppcode(String appcode) {
        this.appcode = appcode;
    }

    @javax.persistence.Column(name = "APPURL", nullable = true, insertable = true, updatable = true, length = 200, precision = 0)
    @Basic
    public String getAppurl() {
        return appurl;
    }

    public void setAppurl(String appurl) {
        this.appurl = appurl;
    }

    @javax.persistence.Column(name = "STATE", nullable = true, insertable = true, updatable = true, length = 2, precision = 0)
    @Basic
    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    @javax.persistence.Column(name = "MEMO", nullable = true, insertable = true, updatable = true, length = 150, precision = 0)
    @Basic
    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    @Transient
    public String getStateText() {
        return stateText;
    }

    public void setStateText(String stateText) {
        this.stateText = stateText;
    }
    @Transient
    public String getTblxText() {
        return tblxText;
    }

    public void setTblxText(String tblxText) {
        this.tblxText = tblxText;
    }

    @javax.persistence.Column(name = "ORDERNUM")
    public String getOrdernum() {
        return ordernum;
    }

    public void setOrdernum(String ordernum) {
        this.ordernum = ordernum;
    }

    @javax.persistence.Column(name = "SYNC_DIRECTION")
    public Integer getSyncDirection() {
        return syncDirection;
    }

    public void setSyncDirection(Integer syncDirection) {
        this.syncDirection = syncDirection;
    }

    @Transient
    public String getXtlxText() {
        return xtlxText;
    }

    public void setXtlxText(String xtlxText) {
        this.xtlxText = xtlxText;
    }

    @javax.persistence.Column(name = "DRIVER")
    @Basic
    public String getDriver() {
        return driver;
    }

    public void setDriver(String driver) {
        this.driver = driver;
    }
    @javax.persistence.Column(name = "URL")
    @Basic
    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }
    @javax.persistence.Column(name = "NAME")
    @Basic
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    @javax.persistence.Column(name = "PASSWORD")
    @Basic
    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
    @javax.persistence.Column(name = "XTLX")
    @Basic
    public String getXtlx() {
        return xtlx;
    }

    public void setXtlx(String xtlx) {
        this.xtlx = xtlx;
    }

    @javax.persistence.Column(name = "TBLX")
    @Basic
    public String getTblx() {
        return tblx;
    }

    public void setTblx(String tblx) {
        this.tblx = tblx;
    }

    @javax.persistence.Column(name = "DB")
    @Basic
    public String getDb() {
        return db;
    }

    public void setDb(String db) {
        this.db = db;
    }

    @Transient
    public String getUserLoginId() {
        return userLoginId;
    }

    public void setUserLoginId(String userLoginId) {
        this.userLoginId = userLoginId;
    }
}
